package com.hand.zc25650.pojo;


import java.util.Date;

public class SysUser {

  private long userId;
  private String userNumber;
  private String userName;
  private String address;
  private long objectVersionNumber;
  private Date creationDate;
  private long createdBy;
  private Date lastUpdateDate;
  private long lastUpdatedBy;

  public SysUser() {
  }

  public SysUser(String userNumber, String userName, String address, long objectVersionNumber, Date creationDate, long createdBy, Date lastUpdateDate, long lastUpdatedBy) {
    this.userNumber = userNumber;
    this.userName = userName;
    this.address = address;
    this.objectVersionNumber = objectVersionNumber;
    this.creationDate = creationDate;
    this.createdBy = createdBy;
    this.lastUpdateDate = lastUpdateDate;
    this.lastUpdatedBy = lastUpdatedBy;
  }

  public SysUser(long userId, String userNumber, String userName, String address, long objectVersionNumber, Date creationDate, long createdBy, Date lastUpdateDate, long lastUpdatedBy) {
    this.userId = userId;
    this.userNumber = userNumber;
    this.userName = userName;
    this.address = address;
    this.objectVersionNumber = objectVersionNumber;
    this.creationDate = creationDate;
    this.createdBy = createdBy;
    this.lastUpdateDate = lastUpdateDate;
    this.lastUpdatedBy = lastUpdatedBy;
  }

  public long getUserId() {
    return userId;
  }

  public void setUserId(long userId) {
    this.userId = userId;
  }

  public String getUserNumber() {
    return userNumber;
  }

  public void setUserNumber(String userNumber) {
    this.userNumber = userNumber;
  }

  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public long getObjectVersionNumber() {
    return objectVersionNumber;
  }

  public void setObjectVersionNumber(long objectVersionNumber) {
    this.objectVersionNumber = objectVersionNumber;
  }

  public Date getCreationDate() {
    return creationDate;
  }

  public void setCreationDate(Date creationDate) {
    this.creationDate = creationDate;
  }

  public long getCreatedBy() {
    return createdBy;
  }

  public void setCreatedBy(long createdBy) {
    this.createdBy = createdBy;
  }

  public Date getLastUpdateDate() {
    return lastUpdateDate;
  }

  public void setLastUpdateDate(Date lastUpdateDate) {
    this.lastUpdateDate = lastUpdateDate;
  }

  public long getLastUpdatedBy() {
    return lastUpdatedBy;
  }

  public void setLastUpdatedBy(long lastUpdatedBy) {
    this.lastUpdatedBy = lastUpdatedBy;
  }

  @Override
  public String toString() {
    return "SysUser{" +
            "userId=" + userId +
            ", userNumber='" + userNumber + '\'' +
            ", userName='" + userName + '\'' +
            ", address='" + address + '\'' +
            ", objectVersionNumber=" + objectVersionNumber +
            ", creationDate=" + creationDate +
            ", createdBy=" + createdBy +
            ", lastUpdateDate=" + lastUpdateDate +
            ", lastUpdatedBy=" + lastUpdatedBy +
            '}';
  }
}
